package com.ly.hotel.view.common;

import com.ly.hotel.common.MyApplication;
import com.ly.hotel.view.liuwei.GuaJiActivity;
//import com.ly.hotel.view.live.TvActivity1;

public class PageTools {

	public static boolean isPopWindow(MyApplication app) {
		String topActivityName = app.getTopActivity();

		if(topActivityName == null){
			return false;
		} else {
			if (topActivityName.contains(GuaJiActivity.class.getName())) {
				return true;
			} else {
				return false;
			}
		}
	}

}
